home *** CD-ROM | disk | FTP | other *** search
/ Mars Digital Image Map / Mars Digital Image Map - Disc 6.iso / document / volinfo.txt
Text File  |  1991-09-23  |  93KB  |  1,979 lines

  1. CCSD3ZF0000100000001NJPL3IF0PDS200000001 = SFDU_LABEL
  2. RECORD_TYPE                    = STREAM
  3. PRODUCT_CREATION_TIME          = 1991-09-23
  4. OBJECT                         = TEXT
  5.   NOTE                         = "Introduction to the Mars Mosaicked
  6.   Digital Image Model (MDIM) CD-ROM volumes."
  7. END_OBJECT                     = TEXT
  8. END
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.                Mars Mosaicked Digital Image Model (MDIM)
  26.  
  27.                     and Digital Terrain Model (DTM)
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.              Eric Eliason, Raymond Batson, Anthony Manley
  45.                         Branch of Astrogeology
  46.                     United States Geological Survey
  47.                         2255 North Gemini Drive
  48.                        Flagstaff, Arizona 86001
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.                             August 1, 1991
  66.                               Version 1.0
  67.  
  68.  
  69.  
  70.  
  71.                                CONTENTS
  72.  
  73.  
  74. 1    -    INTRODUCTION 
  75.  
  76. 2    -    VIKING MISSION 
  77.  
  78. 3    -    VIKING ORBITER VISUAL IMAGING SUBSYSTEM 
  79.  
  80. 4    -    CARTOGRAPHY AND DATA PRODUCTS 
  81.           
  82. 5    -    DATA PREPARATION: PLANETARY DIGITAL MODELS 
  83.  5.1 -    PROJECTIONS
  84.  5.2 -    PIXEL SIZES
  85.  
  86. 6    -    COMPILATION OF DIM'S
  87.  6.1 -    LEVEL 1: RADIOMERIC CORRECTION
  88.  6.2 -    LEVEL 2: GEOMETRIC CORRECTION
  89.  6.3 -    LEVEL 3: PHOTOMETRIC CORRECTION
  90.  6.4 -    LEVEL 4: CONTROLLED MOSAICKING
  91.  6.5 -    DENSITY CONTRAST OF MDIM IMAGES
  92.  6.6 -    MDIM IMAGE "ARTIFACTS"
  93.  
  94. 7    -    CONCEPT OF TILING SCHEME
  95.  
  96. 8    -    FILES, DIRECTORIES, AND DISK CONTENTS
  97.  8.1 -    IMAGE FILE NAMING CONVENTION
  98.  8.2 -    DIRECTORIES
  99.  
  100. 9    -    IMAGE FILE ORGANIZATION
  101.  9.1 -    IMAGE LABEL AREA
  102.  9.2 -    IMAGE HISTOGRAM OBJECT
  103.  9.3 -    IMAGE OBJECT
  104.  
  105. 10   -    SOFTWARE 
  106.  10.1-    SOFTWARE DISCLAIMER
  107.  10.2-    SOFTWARE TOOLS
  108.  
  109. 11   -    IMAGE INDEX
  110.  
  111. 12   -    GAZETTEER 
  112.  
  113. 13   -    ACKNOWLEDGEMENTS
  114.  
  115. 14   -    REFERENCES
  116.  
  117.  
  118. APPENDIX A -  ISO VOLUME AND DIRECTORY STANDARD 
  119.  
  120. APPENDIX B -  SYNTACTIC RULES OF KEYWORD ASSIGNMENT STATEMENTS 
  121.  
  122. APPENDIX C -  KEYWORD ASSIGNMENTS FOR MDIM IMAGES 
  123.  
  124. APPENDIX D -  GEOMETRIC DEFINITION OF A PIXEL
  125.  
  126. APPENDIX E -  SINUSODIAL EQUAL-AREA PROJECTION EQUATION
  127.  
  128.  
  129.  
  130.  
  131. 1 -  INTRODUCTION
  132.  
  133.  
  134. This digital image map of Mars is a cartographic extension of a
  135. previously released set of CDROM volumes containing individual Viking
  136. Orbiter Images  (PDS volumes VO_1001, VO_1002, etc.).  The data in the
  137. latter are pristine, in the sense that they were processed only to the
  138. extent required to view them as images.  They contain the artifacts and
  139. the radiometric, geometric, and photometric characteristics of the raw
  140. data transmitted by the spacecraft.  This new volume set, on the other
  141. hand, contains cartographic compilations made by processing the raw
  142. images to reduce radiometric and geometric distortions and to form
  143. geodetically controlled Mosaicked Digital Image Models (MDIMs).  
  144. (Because the photometric processing used in this MDIM was
  145. oversimplified, quantitative radiometric analysis on this data is not
  146. possible.) It also contains digitized versions of an airbrushed map of
  147. Mars as well as a listing of all IAU-approved feature names.   In
  148. addition, special geodetic and photogrammetric processing has been
  149. performed to derive rasters of topographic data, or Digital Terrain
  150. Models (DTMs).  The latter has a format similar to that of the MDIM,
  151. except that elevation values are used in the array instead of image
  152. brightness values.
  153.  
  154. The MDIM CDROM collection serves two purposes. First, the image
  155. collection serves as a data base for interactive map browser
  156. applications. Secondly, the CDROM volume set provides a dense delivery
  157. medium to build higher-derived cartographic image products such as
  158. special map series and planning charts for the Mars Observer Project.
  159.  
  160. This set contains seven volumes with the following contents:
  161.  
  162. Volume 1.  Vastitas Borealis Region of Mars (VO_2001): MDIMs in 373
  163.           image files covering the entire north polar region of
  164.           Mars southward from the pole to a latitude of 42.5 deg.
  165.           North. Polar Stereographic projection images of the north
  166.           pole area from 80 to 90 degrees are located in the POLAR
  167.           directory on this disk
  168.  
  169. Volume 2.  Xanthe Terra Region of Mars (VO_2002):  MDIMs in 412 image
  170.           files covering the region of Mars from 47.5 deg. North 
  171.           latitude to 47.5 deg. South latitude, and 0 deg. longitude
  172.           to 90 deg. West longitude.  
  173.  
  174. Volume 3.  Amazonis Planitia Region of Mars (VO_2003):  MDIMs in 412
  175.           image files covering the region of Mars from 47.5 deg.
  176.           North latitude to 47.5 deg. South latitude, and 90 deg. 
  177.           West longitude to 180 deg. West longitude.  
  178.                                       
  179. Volume 4.  Elysium Planitia Region of Mars (VO_2004):  MDIMs in 412
  180.           image files covering the region of Mars from 47.5 deg.
  181.           North latitude to 47.5 deg. South latitude, and 180 deg.
  182.           West longitude to 270 deg. West longitude.  
  183.  
  184. Volume 5.  Arabia Terra Region of Mars (VO_2005):  MDIMs in 412 image
  185.           files covering the region of Mars from 47.5 deg. North
  186.           latitude to 47.5 deg. South latitude, and 270 deg. West
  187.           longitude to 0 deg. West longitude.  
  188.  
  189. Volume 6.  Planum Australe Region of Mars (VO_2006): MDIMs in 373
  190.           image files covering the entire South polar region of
  191.           Mars northward from the pole to a latitude of 42.5 South
  192.           latitude. Polar Stereographic projection images of the south
  193.           pole area from 80 to 90 degrees are located in the POLAR
  194.           directory on this disk
  195.  
  196.  
  197. Volume 7.  Digital Topographic Map of Mars (VO_2007):  MDIMs of the
  198.           entire planet at 1/64, 1/16, DTMs of the entire planet at 
  199.           1/64, 1/16, and the digitized airbrush map of Mars at 1/16 
  200.           and 1/4 deg./pixel. 
  201.  
  202. Each of the first six volumes contains MDIMs of the areas specified at
  203. resolutions of 1/256 deg./pixel (231m) and at 1/64 deg./pixel (943m). 
  204. Volumes 1 and 6 also contain MDIM coverage of the entire planet at 1/16
  205. deg./pixel (3.69 km). The six volumes also include a digitized airbrush
  206. map of the entire planet at 1/16 deg./pixel (3.69 km) and at
  207. 1/4 deg./pixel. The Sinusoidal Equal-Area Projection, is used as the
  208. map projection for this image collection. For a detailed description of
  209. the Sinusoidal projection and use of the cartographic keywords found in
  210. the image labels, refer to Appendix E of this document.
  211.  
  212. The tiling layout of the 1/64 deg./pixel digital models is the same on
  213. the first six volumes.  Note that the 1/64 deg./pixel MDIM, segments of
  214. which appear in Volumes 1 through 6, is duplicated in its entirety on
  215. Volume 7.   All of the resolution compressions were done by averaging,
  216. not by subsampling. A gazetteer of IAU-approved feature names,
  217. referenced by latitude/longitude coordinates is included as a table file
  218. on each of the seven volumes.
  219.  
  220.  
  221.  
  222.  
  223. 2 - VIKING MISSION
  224.  
  225.  
  226. The Viking Mission consisted of four spacecraft:  two identical orbiters
  227. and two identical landers.  During cruise from Earth to Mars the landers
  228. were attached to the orbiters.  Thirteen science teams had experiments
  229. on these spacecraft.  The major scientific objective of the mission was
  230. to search for life on Mars.  Several experiments on the landers were
  231. designed to address this objective.  In addition, some of the
  232. experiments on the orbiters and landers focused on the study of the
  233. composition and physical properties of the atmosphere, the distribution
  234. of water vapor, and global and local meteorology.  Other experiments
  235. investigated the composition and physical properties of the surface and
  236. the geologic history of Mars.  Data on the seismicity of Mars and its
  237. gravity field were also acquired to study the internal structure of Mars
  238. [1, 2].
  239.  
  240. One of the Orbiter experiments was the Visual Imaging Subsystem (VIS),
  241. which acquired the images that comprise the Mars MDIM.  The imaging
  242. system is briefly described in the next section.  The first objective of
  243. the VIS experiment was to characterize potential landing sites in
  244. support of site selection.  Additional objectives were to study the
  245. photometric and colorimetric properties of the surface; to study various
  246. geological features that were discovered by Mariner 9 in order to better
  247. understand the geological history of Mars; to study the dynamics of the
  248. atmosphere; and to monitor the surface for changes.
  249.  
  250. The Viking Orbiter spacecraft operated in orbit around Mars from 1976
  251. until 1980.  The overall Viking mission was divided into a number of
  252. mission phases with specific objectives.  The time from orbital
  253. insertion in June 1974 until November 1976 is known as the Primary
  254. Mission.  The main objective of the Orbiter instruments was to collect
  255. data in support of landing site selection.  The spacecraft orbital
  256. characteristics were chosen so that the Orbiters could serve as relay
  257. stations for communications between the Landers and Earth.  In addition,
  258. the Orbiter imaging systems imaged all of the terrains on Mars,
  259. collected some color and stereo images, and made observations of Phobos
  260. and Deimos.  The Viking Extended Mission took place from November 1976
  261. through May 1978, and the Viking Continuation Mission took place from
  262. May 1978 through February 1979.  During these periods the Orbiters were
  263. not always required as relay stations with the Landers.  Some of the
  264. image sequences acquired by the VIS experiment include systematic medium
  265. and high resolution coverage of large portions of the surface, stereo
  266. images, observations of Phobos and Deimos, color images of the
  267. equatorial regions, observations of the polar regions, and monitoring
  268. dust storm activity.  The final phase of the Viking Mission was the
  269. Survey Mission from July 1979 until July 1980.  During the Survey
  270. Mission only Viking Orbiter 1 operated since Viking Orbiter 2 had lost
  271. its attitude control gas through a series of leaks.  The Orbiter 1 image
  272. coverage during the Survey Mission was designed to obtain contiguous
  273. high resolution coverage of the Martian cratered terrain.  One reason
  274. for acquiring these data was to help select landing sites on Mars for
  275. future missions.
  276.  
  277.  
  278.  
  279. 3 - VIKING ORBITER VISUAL IMAGING SUBSYSTEM
  280.  
  281.  
  282. Each Viking Orbiter was equipped with two identical vidicon cameras,
  283. called the Visual Imaging Subsystem (VIS) [3, 4, 5].  Each VIS camera
  284. consisted of a telescope, a slow scan vidicon, a filter wheel, and
  285. associated electronics.  The angular field of view of the camera as
  286. defined by the reseau pattern was 1.51 by 1.69 degrees.  The ground area
  287. covered by an image varies as a function of spacecraft altitude and
  288. emission angle.  A digital image was generated by scanning the vidicon
  289. face plate.  The signal at each location (pixel) was digitized as a
  290. 7-bit number (i.e., within the range of 0 to 127).  The EDR image data
  291. were converted to 8-bit numbers by multiplying the original 7-bit
  292. numbers by 2.  Thus, the least significant bit of each pixel in an EDR
  293. image is zero, except for interpolated pixels or pixels with corrupted
  294. values.  A full-resolution, Viking Orbiter image consists of an array of
  295. 1056 lines with 1204 samples per line.  There are only 1182 valid
  296. samples in each line.  The extra 22 samples in each line consist of dark
  297. bands on the left and right edges of each image, produced by an opaque
  298. mask located at the front of the vidicon.  Each dark band is
  299. approximately 11 samples wide, although the exact width varies from
  300. image to image.
  301.  
  302. Each VIS camera contained a filter wheel with five color filters (blue,
  303. minus blue, violet, green, and red) and a clear position, i.e., no
  304. filter.  The filter half power bandwidths are approximately:  blue from
  305. 0.35 to 0.53 micrometers; minus-blue from 0.48 to 0.70 micrometers;
  306. violet from 0.35 to 0.47 micrometers; clear from 0.35 to 0.70
  307. micrometers; green from 0.50 to 0.60 micrometers; and red from 0.55 to
  308. 0.70 micrometers.  Multiple images of the same areas were occasionally
  309. acquired using violet, green, and red filters to form color images after
  310. processing on Earth.  Color image reconstruction from Viking imaging
  311. requires radiometric and geometric corrections, and co-registration of
  312. the images that make up the color set.  
  313.  
  314.  
  315.  
  316. 4 - CARTOGRAPHY AND DATA PRODUCTS
  317.  
  318.  
  319. The global MDIM of Viking Orbiter images of Mars was compiled according
  320. to the plan described by Batson [6, 7, 8, 9].  The images have had
  321. improved  radiometric and geometric enhancements over the images used in
  322. the published 1:2,000,000-scale controlled photomosaic map series
  323. published by USGS.  
  324.  
  325. The MDIM is tied to a refined topographic control net for Mars [10] with
  326. a published standard error of this net of about 5 km for the control
  327. base, which represents 20 pixels at 1/256 deg./pixel in the MDIM. 
  328. Discrepancies between adjacent frames are far less than 20 pixels over
  329. most, but not all, of the planet.  We attempted to distribute the error
  330. so that it was not obtrusive in the mosaics, but this was not possible
  331. in some areas.  The error can be attributed to a lack of precise
  332. knowledge of the spacecraft location at the time each image was taken
  333. and to parallax in oblique images of rugged terrain.  Camera locations
  334. can be derived only by tracking the spacecraft continuously and
  335. precisely during its active lifetime, which was not always done for
  336. Viking Orbiters 1 and 2.  Given assumed camera positions, camera
  337. orientations were derived by reducing to their minima the discrepancies
  338. between images in overlapping frames and the control net.
  339.      
  340. First-order photometric corrections were also performed and contrast
  341. ranges were normalized based on solar illumination geometry.  This
  342. processing greatly reduces tonal discrepancies between individual images
  343. even when illumination differences are extreme, but it is a form of
  344. spatial filtration and results in the loss of regional albedo
  345. information.  
  346.  
  347.  
  348.  
  349. 5 -  DATA PREPARATION:  PLANETARY DIGITAL MODELS
  350.  
  351.  
  352. Digital mosaics have in the past been compiled primarily as elegant
  353. demonstrations of a costly alternative to manual compilations.  They
  354. have generally been special products designed to serve specialized
  355. purposes and until recently were not affordable as primary standard
  356. products.  The intent of the digital planetary mapping program is to
  357. develop a unified system, consisting of a single digital format for all
  358. planetary  cartographic databases.  The relations between digital
  359. map-storage formats and map projection and image resolution are
  360. therefore fundamental considerations in the design of the system. 
  361.  
  362.  
  363. 5.1 - PROJECTIONS
  364.  
  365. The simplest form of a digital model (DM) is one in which each image
  366. element's value is stored in a "bin" (pixel) labeled in terms of
  367. latitude and longitude.  For computer work, it is only necessary that
  368. each bin be readily accessible.  In compiling and describing DM's,
  369. however, it is useful to discuss a digital array in terms of map
  370. projections.  The simplest projection is one in which each image line,
  371. or row of bins, is a parallel of latitude and each column of samples, or
  372. bins, is a meridian. This presentation was termed a "Simple Cylindrical"
  373. or "Square" projection by Clark [11].  Its simplicity is appealing, even
  374. though the higher latitudes are oversampled (e.g., the pole of a planet,
  375. in reality, is a point, but is represented digitally by an image line
  376. with as many samples as that for the equator, all with the same value).
  377. Several planetary consortia, consisting of geological, geochemical, and
  378. geophysical databases in this format, have used this format for several
  379. years for the Moon, Mars, Venus, and the Galilean satellites [12, 13,
  380. 14, 15]. The total storage required for this kind of array is only about
  381. 60% more than if each element represented the same size area on the
  382. planet, and is therefore not prohibitive.  However, this projection does
  383. present an operational problem, in that a Simple Cylindrical projection
  384. of a single spacecraft image containing the north or south pole has too
  385. many pixels in an image line to manage easily during DM compilation. As
  386. a result, the Sinusoidal Equal-Area projection [16] was selected for
  387. compiling planetary DM's.  The conversions between Simple Cylindrical
  388. and Sinusoidal Equal-Area geometry are so computationally trivial that
  389. the two formats are nearly twins.
  390.  
  391. A Sinusoidal Equal-Area projection is one in which each parallel of
  392. latitude is an image line, and the length of each line is compressed by
  393. the cosine of its latitude. For a detailed description of the Sinusoidal
  394. projection and use of the cartographic keywords found in the image
  395. labels, refer to Appendix E of this document. The Sinusoidal projection
  396. has the simplicity of the Simple Cylindrical projection so far as
  397. indexing (rows and columns are still parallels along meridians), but
  398. compilation is much more efficient in the Sinusoidal Equal-Area because
  399. the projection does not have mathematical peculiarities at the poles.
  400. However, viewing distortion becomes severe with distance from the
  401. central meridian in the sinusoidal presentation.  This is a problem only
  402. for visual examination of DIM images; it is not relevant to the
  403. integrity of the database.  By simply sliding image lines parallel to
  404. one another, the central meridian can be rapidly shifted; this allows an
  405. undistorted view of a selected region without geometrically resampling
  406. the image. Segments of a DIM can therefore be displayed with a local
  407. central meridian, although the poles themselves must be transformed to a
  408. polar projection. 
  409.  
  410.  
  411.  
  412. 5.2 - PIXEL SIZES
  413.  
  414. The resolution of digital images is often given in terms of pixel
  415. dimensions in meters or kilometers on the surface of a target. However,
  416. Mars DM's on this CDROM are encoded so that the number of lines (which
  417. are also parallels of latitude) in a global DM is an integer.  It is
  418. therefore more convenient to specify DM resolution in terms of
  419. planetocentric degrees than in linear units.  The size of pixels in DM's
  420. is therefore specified as some negative power of two (1/4, 1/8, 1/16 . .
  421. . 1/256, etc.) degrees per pixel.  Resolutions intermediate to these
  422. values are not used, so that databases can be registered in scale simply
  423. by successively doubling or halving the pixel sizes by subsampling or
  424. averaging, but without resampling.
  425.  
  426. Selected segments of DIMs may be written as photographic prints or
  427. published as maps in the traditional format. Table 1 shows metric
  428. equivalents of pixel sizes for each solar system body currently included
  429. in NASA's mapping plans [17]. Table 1 shows equivalents of digital model
  430. resolutions, in kilometers per pixel.  Mean radii are given for
  431. non-spherical bodies.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.    TABLE 1. - METRIC EQUIVALENTS OF PIXEL SIZES FOR SOLAR SYSTEM BODIES
  438.   --------------------------------------------------------------------
  439.  
  440.     |         |Radius|          Digital scale (deg/pixel)             |
  441.     |Planet   | (km) |  1/16|  1/32|  1/64| 1/128| 1/256| 1/512|1/1024|
  442.     |_________|______|______|______|______|______|______|______|______|
  443.     |         |      |      |      |      |      |      |      |      |
  444.     |Mercury  |  2439| 2.660| 1.330|  .665|  .333|      |      |      |
  445.     |         |      |      |      |      |      |      |      |      |
  446.     |Venus    |  6052| 6.602| 3.301| 1.650|  .825|  .413|  .206|  .103|
  447.     |         |      |      |      |      |      |      |      |      |
  448.     |Moon     |  1738| 1.896|  .948|  .474|  .237|  .118|  .059|      |
  449.     |         |      |      |      |      |      |      |      |      |
  450.     |Mars     |  3385| 3.692| 1.846|  .923|  .462|  .231|  .115|  .058|
  451.     |Phobos   |    11|  .012|      |      |      |      |      |      |
  452.     |Deimos   |     6|  .007|      |      |      |      |      |      |
  453.     |         |      |      |      |      |      |      |      |      |
  454.     |Io       |  1821| 1.986|  .993|  .497|  .248|  .124|  .062|      |
  455.     |Europa   |  1565| 1.707|  .854|  .427|  .213|  .107|  .053|      |
  456.     |Ganymede |  2634| 2.873| 1.437|  .718|  .359|  .180|  .090|      |
  457.     |Callisto |  2403| 2.621| 1.311|  .655|  .328|  .164|  .082|      |
  458.     |         |      |      |      |      |      |      |      |      |
  459.     |Mimas    |   199|  .217|      |      |      |      |      |      |
  460.     |Enceladus|   249|  .272|      |      |      |      |      |      |
  461.     |Tethys   |   523|  .571|      |      |      |      |      |      |
  462.     |Dione    |   560|  .611|      |      |      |      |      |      |
  463.     |Rhea     |   764|  .833|  .417|      |      |      |      |      |
  464.     |Iapetus  |   718|  .783|      |      |      |      |      |      |
  465.     |         |      |      |      |      |      |      |      |      |
  466.     |Miranda  |   236|  .257|      |      |      |      |      |      |
  467.     |Ariel    |   579|  .632|      |      |      |      |      |      |
  468.     |Umbriel  |   585|  .638|      |      |      |      |      |      |
  469.     |Titania  |   789|  .861|      |      |      |      |      |      |
  470.     |Oberon   |   761|  .830|      |      |      |      |      |      |
  471.     |         |      |      |      |      |      |      |      |      |
  472.     |Triton   |  1353| 1.476|  .738|  .369|  .184|  .092|      |      |
  473.     |_________|______|______|______|______|______|______|______|______|
  474.  
  475.  
  476.  
  477. 6 - COMPILATION OF DIM'S
  478.  
  479.  
  480. The Mars Digital image models on this CDROM are compiled and archived in
  481. four stages or "levels", beginning with raw images.  All of the
  482. corrections made during these stages have some level of uncertainty, so
  483. the processing sequence is designed to progress from corrections with
  484. the highest probability of accuracy to the lowest, and intermediate
  485. stages are preserved for future analytical use. Image processing
  486. software exists to perform the various stages of image correction and
  487. enhancement [18, 19].
  488.  
  489.  
  490. 6.1 - LEVEL 1: RADIOMETRIC CORRECTION 
  491.  
  492. Level 1 processing includes removal of electronic shading, which is
  493. inherent in the imaging system, and artifacts such as minute dust specks
  494. on the vidicon tube, microphonic noise introduced by operation of other
  495. instruments on the spacecraft during imaging sequences, and data
  496. drop-outs and spikes [15]. Reseau marks are also located and removed
  497. during this stage; their precise locations are recorded for use during
  498. later geometric processing.  A digital image label is created,
  499. containing the reseau-mark locations, geodetic control point and image
  500. tie-point locations, and a computed camera orientation matrix that will
  501. project the frame to a best-fit shape and position in a mosaic.
  502.  
  503. Level 1 images have better resolution than those produced at any
  504. subsequent processing level.  This is because they have not been
  505. resampled for geometric correction and projection; some loss of
  506. information is inevitable in any resampling, because the density values
  507. of multiple pixels and/or fractional pixels must be averaged to form new
  508. pixels in the output array.  Photographic copies of Level 1 images, with
  509. spatial filter enhancement, are therefore the more useful photographic
  510. materials for visual interpretation.  
  511.  
  512.  
  513. 6.2 - LEVEL 2: GEOMETRIC CORRECTION 
  514.  
  515. Level 2 processing includes removal of camera distortions and
  516. transformation from image to map coordinates in DM format according to
  517. parameters derived at the end of the Level 1 processing phase [20].  The
  518. resolution of each frame is preserved to some extent by oversampling in
  519. the output array; that is, by selecting a resolution step that results
  520. in an image with more lines and samples than the original image. 
  521. Distortion corrections are based on preflight calibration of the reseau. 
  522. Image transformation is based on camera orientation matrices derived by
  523. photogrammetric triangulation [21] modified as required for a best fit
  524. with adjacent images. On those images where matrices are not available,
  525. they are derived by matching corresponding points with images that have
  526. matrices.
  527.  
  528.  
  529. 6.3 - LEVEL 3: PHOTOMETRIC CORRECTION  
  530.  
  531. At level 3 processing apparent inconsistencies in surface brightness
  532. caused by variation in illumination geometry and by atmospheric effects
  533. are treated.   Atmospheric scattering is a significant consideration on
  534. Mars.  Different materials on any planet have different light-reflecting
  535. properties.  Other photometric corrections are effective only to the
  536. extent that all geometric parameters can be modeled. In general, local
  537. topography is not included in the model (i.e., the surface model used is
  538. flat). Illumination geometry at each pixel, however, certainly depends
  539. on local topography; unless the topographic slope within a pixel is
  540. accurately known and compensated, the photometric correction cannot be
  541. perfect.  All of these conditions are so complex that photometric
  542. correction of planetary images is likely to be only approximate for some
  543. time into the foreseeable future, although research into the effects and
  544. prototype examples of full three-dimensional treatment are now being
  545. pursued.  An obvious example of the complexity of the problem would
  546. consist of a pair of images of the same landform illuminated from
  547. opposite directions.  Only an extremely complex algorithm could
  548. accurately modify the shading in one of the images to match that of the
  549. other.  No algorithm could restore detail lost in shadow.
  550.  
  551. The photometric processing used in this MDIM was necessarily
  552. oversimplified, and incorporates spatial filtration that has the effect
  553. of subduing regional albedo markings.  Further, quantitative radiometric
  554. analysis cannot be performed on the MDIM image collection.
  555.  
  556. Prior to mosaicking, each of the digital images was first filtered to
  557. suppress regional scale albedo patterns larger than about one degree on
  558. the planet.  This was done by applying a 251x251 high-pass boxcar filter
  559. [27] to each 16-bit integer image after geometric transformation. The
  560. high-pass filter was performed by convolving each image with a 251x251
  561. boxcar of unit weight, subtracting this smoothed image from the original
  562. image and adding it to 16384.  The value 16384 was added in order to
  563. keep pixel values always greater than zero.
  564.  
  565. Each image was then linearly stretched and converted to 8-bit unsigned
  566. integer format. The stretch parameters were chosen to normalize the
  567. images so that features of the same relief in different images would
  568. have the same contrast although images were acquired with different
  569. incidence and emission angles and through different filters. The MINIMA
  570. (mapped to 0 in 8-bit unsigned integer space) and MAXIMA (mapped to 255
  571. in 8-bit space) for the linear stretch were computed as follows: 
  572.  
  573.  MINIMA = 16384 - DELTA
  574.  MAXIMA = 16384 + DELTA
  575.  
  576.  DELTA= (Rf*EXP(-TAU*(MUc+MUoc))*SIN(Ic))/(EXP(-TAU*(MUs+MUos))*Sin(Is))
  577.  
  578. where MUc and MUoc are the cosines of the emission and incidence angles
  579. at the image center; TAU is the optical depth of the atmosphere; MUs and
  580. MUos are the emission and incidence angles the images are to be
  581. normalized to; and Rf is a scaling coefficient dependent on the spectral
  582. bandpass.  The following were used for the entire series of images: 
  583. MUs=0; MUos=45 degrees; TAU=0.3; Rf=1275 for red; Rf=815  for
  584. minus-blue, green, and clear; and Rf=435 for violet.  If the value of
  585. MUoc was greater than 83 degrees, it was set to 83 degrees.
  586.  
  587. Finally, a seam-removal technique was used in the mosaicking procedure. 
  588. First the filtered and stretched images were mosaicked. This mosaic was
  589. then filtered with a 51x51 low-pass filter (convolved with a 51x51
  590. boxcar of unit weight).  A 51x51 high-pass filter was next applied to
  591. each individual image that makes up the mosaic. Finally, this
  592. mosaic of high-pass filtered images was added to the low-pass filtered
  593. mosaic. 
  594.  
  595.  
  596. 6.4 - LEVEL 4: CONTROLLED MOSAICKING  
  597.  
  598. Compilation of an accurate digital mosaic (MDIM) of the entire surface
  599. of a planet is the final stage in the construction of a DIM.  The MDIM
  600. is a digital image of the planet, with uniform resolution throughout. 
  601. The resolution of level 2 images used in the compilation is compressed
  602. or expanded to match that of the MDIM.
  603.  
  604.  
  605. 6.5 - DENSITY CONTRAST OF MDIM IMAGES
  606.  
  607. MDIM's data number (DN) dynamic range is designed so that every image
  608. file will match in contrast with any of its neighboring files. This
  609. allows image files to be mosaicked together without having obvious
  610. contrast boundaries in the mosaic. The highest contrast on Mars is in
  611. the polar region and the image density histograms of these areas fill
  612. the full dynamic range 0 to 255.  There are image files that cover
  613. low-contrast areas on the planet and the density histograms of these
  614. images will fill only a limited part of the full 0 to 255 range. 
  615.  
  616. When viewing low-contrast images on a display device, the image will
  617. look very bland unless a contrast stretch is applied to the image
  618. values. For convenience of image display applications, the MDIM files
  619. have an object containing the image histogram in order to facilitate the
  620. rapid display of an image with optimum contrast. An image display
  621. application could extract the image histogram from the file, use it to
  622. determine an optimum contrast stretch, and then load the display's DN
  623. look-up table to perform the contrast stretch.
  624.  
  625.  
  626. 6.6 - MDIM IMAGE "ARTIFACTS"
  627.  
  628. "Perfect" cartographic products do not exist--all compilations are
  629. compromises at some level and the MDIM digital cartographic products are
  630. no exception. Various artifacts exist in the MDIM products which require
  631. some explanation.
  632.  
  633. The original Viking EDR images were mapped to the Sinusoidal projection
  634. using the simplest approach of resampling know as "nearest neighbor"
  635. interpolation. In this approach, the data value of the pixel in the
  636. input irregular image closest to the location of the pixel in the
  637. desired output image is used for the value of the output pixel. The
  638. intensity values resulting from this interpolation scheme correspond to
  639. true pixel locations that can be as much as the square root of two
  640. spacing in error. (A comparison of resampling interpolation schemes are
  641. described in Bernstein [22].)
  642.  
  643. The minimum longitude limit of a file (keyword MINIMUM_LONGITUDE) does
  644. not always end on an even longitude boundary. This was intentional.
  645. There is an unresolved issue on how the ISO/CDROM standard defines the
  646. format of fixed length record files of odd size. To avoid this issue,
  647. the minimum longitude limit of the file was set to always insure there
  648. were an even number of pixels in the line length.
  649.  
  650. Artifacts in the image data exist due to poorly interpolated reseau and
  651. improperly removed random noise and vidicon camera blemishes.
  652.  
  653.  
  654.  
  655.  
  656. 7 - CONCEPT OF THE TILING SCHEME
  657.  
  658.  
  659. Most MDIMs are far too large to be managed conveniently as single files. 
  660. They must therefore be segmented by some scheme analogous to the
  661. segmentation of a map series into quadrangles.  Mars has been segmented
  662. into 1964 quadrangles for high-resolution mapping at a scale of
  663. 1:500,000; this scheme has been selected for tiling the MDIM because it
  664. results in tiles of reasonably convenient size, and because it allows
  665. easy cross reference between the MDIM and published paper maps.  The
  666. tiles have dimensions of 5 deg. latitude by 5 deg. longitude at the
  667. equator.  The longitude dimension is modified to account for the
  668. convergence of meridians on a globe, beginning at 47.5 deg. latitude, so
  669. that each tile in the MDIM retains roughly the same area.
  670.  
  671. Just as published maps are indexed by the latitude/longitude of their
  672. center points (truncated to the nearest integer degree to simplify the
  673. indexing), the labels of the files in the MDIM refer to the
  674. latitude/longitude of the center of the tile.  Thus, the tile (MDIM
  675. file) labelled MI05N312 is centered on a point 5 deg. north of the
  676. equator and at a latitude of 312 deg. W.   
  677.  
  678. Each tile has its own central meridian in order to minimize the
  679. geometric distortion (shearing) of the data within the tile. Thus, each
  680. tile, with the exception of the tiles that make up the poles, can be
  681. independently displayed and its view will be quite reasonable with
  682. virtually no geometric distortion due to the nature of the projection.
  683. Thus, craters remain round rather than being oblong. With each tile
  684. having its own central meridian, simple display software can display a
  685. tile (or sub-area of a tile) with virtually no geometric distortion in
  686. the area of interest. 
  687.  
  688. One of the nice advantages of the Sinusoidal Equal-Area projection is
  689. the simple process for changing the central meridian of the projection.
  690. The central meridian is changed simply by sliding image lines parallel
  691. to one another (assuming nearest-neighbor interpolation). For a computer
  692. algorithm to convert an MDIM tile to a new central meridian, the
  693. algorithm need only calculate a starting offset (where to put the first
  694. sample of the input line) and simply move the pixels from the input
  695. buffer to the output buffer starting at the calculated offset. For
  696. example, if a feature of interest existed on a boundary between two
  697. tiles, it would be relatively simple to develop a program that would
  698. read the two tiles into memory, create an output memory array with a new
  699. central meridian equal to the boundary longitude between the two tiles,
  700. and then copy the input tile lines to the output tile lines with a
  701. calculated offset value for each line.
  702.  
  703.  
  704. 8 -  FILES, DIRECTORIES, AND DISK CONTENTS
  705.  
  706. 8.1 - IMAGE FILE NAMING CONVENTION
  707.  
  708. Each image file has a unique name that is constructed according to the
  709. type of image file, resolution, and its central latitude and longitude.
  710. Because only eight characters are available as a file name, a highly
  711. compressed notation is used. The general form of an image file name is
  712. 'vwxxyzzz.IMG'.  In this construct the 'v' field represents the type of
  713. image data in the file and it has three possible values: 'M' represents
  714. a MDIM image, 'T' represents a DTM image, and 'S' represents a shaded
  715. relief airbrush image. The 'w' field represents the resolution of the
  716. image file. In this field an alphabetic character is used to represent
  717. the scale: 'A' = 1/1 degrees/pixel, 'B' = 1/2, 'C' = 1/4, 'D' = 1/8, 'E'
  718. = 1/16, etc. For this volume set only the characters 'C' (1/4
  719. degree/pixel), 'E' (1/16 degree/pixel), 'G' (1/64 degree/pixel), and 'I'
  720. (1/256 degree/pixel) are used. The 'xx' field is constructed from the
  721. central latitude of the image file. The central latitude is rounded down
  722. to the nearest whole integer of latitude. The 'y' field contains the
  723. value of 'N' for north latitude files, and 'S' for south latitude files.
  724. Finally, the 'zzz' field is constructed from the central longitude of
  725. the image file. The central longitude is rounded down to the nearest
  726. whole integer of longitude.  The '.IMG' extension name is a PDS standard
  727. indicating the file is an image file. MI00N090.IMG is an example file
  728. name. It is an  MDIM image, has a resolution of 1/256 degree/pixel, a
  729. center latitude at the equator, and a center longitude at 90 degrees.
  730. Table 2 summarizes the file naming convention for image files.
  731.  
  732.              
  733.                  TABLE 2. - IMAGE FILE NAME CONVENTION
  734.                  -------------------------------------
  735.  
  736.            General Form of Image File Names -   vwxxyzzz.IMG
  737.            where:
  738.  
  739.                v   =  Type of image file
  740.                        M - Mars Digital Image Map
  741.                        T - Mars Digital Topographic Model
  742.                        S - Shaded Relief Airbrush Map
  743.                w   =  Resolution code for image file
  744.                        C  - 1/4   degrees/pixel
  745.                        E  - 1/16  degrees/pixel
  746.                        G  - 1/64  degrees/pixel
  747.                        I  - 1/256 degrees/pixel
  748.                xx  =  Central latitude value rounded
  749.                       down to nearest whole latitude
  750.                y   =  North or South latitude
  751.                        N - North latitude
  752.                        S - South latitude
  753.                zzz =  Central longitude value rounded 
  754.                       down to nearest whole longitude
  755.               -------------------------------------------
  756.  
  757.  
  758. 8.2 - DIRECTORIES 
  759.  
  760. The volume and directory structure of this CD-ROM conforms to the level-1
  761. standard specified by the International Standards Organization (ISO). 
  762. This standard is also known as the ISO-9660 standard.  The ISO standard
  763. was used so that the disks can be accessed on a wide variety of computer
  764. systems.  Information on the ISO-9660 CD-ROM standard is provided in
  765. Appendix A of this document. 
  766.  
  767. The Image files are subdivided into directories based on the type of
  768. image file (MDIM, DTM, shaded relief airbrush), the resolution of the
  769. image file, and for 1/256 and 1/64 degree/pixel image files the center
  770. latitude of the image.  For 1/4 and 1/16 degree/pixel images the first
  771. two characters of a file name followed by six 'X' characters make up the
  772. directory name. For example, all of the 1/16 degree/pixel MDIM images
  773. are located in the directory MEXXXXXX (Volumes 1 and 6 only). For 1/256
  774. and 1/64 degree/pixel images the first five characters of a file name
  775. followed by three 'X' characters make up the directory name. For
  776. example,  all of the 1/256 degree/pixel images with center latitude 45
  777. degrees north are located in the directory MI45NXXX. Volumes 1 and 6
  778. contain a special directory called POLAR which contains Polar
  779. Stereographic projection images from 80 to 90 degrees latitude.
  780.  
  781.  
  782. The MDIM images, Shaded relief airbrush images, DTM image files (volume
  783. 7 only), supplemental files, documentation, and software are located in
  784. separate directories. Table 3 shows the contents of the 10 directories
  785. common to all seven volumes: 1) the root directory is the primary
  786. directory on the disk; 2) the DOCUMENT directory contains documentation
  787. files; 3) the GAZETTER directory contains the gazetteer table and
  788. supplemental files; 4) the INDEX directory contains the image index
  789. table; 5) the LABEL directory contains ancillary PDS label files; 6) the
  790. SOFTWARE directory contains supporting software for the MDIM image
  791. files; 7) the SCXXXXXX directory contains the 1/4 degree resolution
  792. shaded relief airbrush image; 8) the SEXXXXXX directory contains the
  793. shaded relief airbrush map at 1/16 degree resolution; and 9) the
  794. MEXXXXXX directory contains the 1/16 degree resolution MDIM images
  795.  
  796.           TABLE 3. - DIRECTORY CONTENTS OF COMMON DIRECTORIES
  797.           ---------------------------------------------------
  798.         root  directory
  799.            AAREADME.TXT - Introduction to this CDROM volume
  800.            VOLDESC.SFD  - Volume descriptor label
  801.  
  802.         DOCUMENT directory
  803.            VOLINFO.TXT      - Documentation for the MDIM volumes
  804.  
  805.         GAZETTER directory
  806.            GAZETTER.TXT     - Gazetteer documentation
  807.            GAZETTER.LBL     - PDS labels for the Gazetteer table
  808.            GAZETTER.TAB     - Gazetteer table for Mars
  809.            GAZINFO.TXT      - Information on Gazetter table
  810.            GAZETTER.DBF     - DBASE structure file for Gazetteer table
  811.            WPMACRO.TXT      - How do use the Word Perfect Macros
  812.            *.WPM            - Word Perfect macros for conversion of
  813.                               diacritical marks to Word Perfect format
  814.         INDEX directory
  815.            IMGINDEX.LBL     - PDS labels for the image index table
  816.            IMGINDEX.TAB     - Image index table
  817.            INDXINFO.TXT     - Information on index table
  818.            IMGINDEX.DBF     - DBASE structure file for index table
  819.  
  820.         LABEL directory
  821.            DSMAPDIM.LBL     - Ancillary label for the data set map
  822.                               projection object.
  823.         SOFTWARE directory  
  824.            MAC subdirectory - Macintosh display software
  825.            PC  subdirectory - IBM/PC display software
  826.            SUN subdirectory - SUN Sparcstation display software
  827.            VAX subdirectory - VAX/VMS Workstation display software
  828.  
  829.         SCXXXXXX directory
  830.            SC00N000.IMG     - Shaded Relief Airbrush image file at 1/4
  831.                               degrees per pixel containing 1440 
  832.                   samples and 720 lines.
  833.         SEXXXXXX directory
  834.            *.IMG            - Shaded Relief Airbrush image files at 1/16
  835.  
  836.         MEXXXXXX directory
  837.            *.IMG            - MDIM image files at 1/16 degrees per pixel
  838.  
  839.  
  840. 9 - IMAGE FILE ORGANIZATION
  841.  
  842.  
  843. The record structure of the MDIM, Shaded Relief Airbrush, and DTM image
  844. files is a fixed-length format (see Appendix A for a description of
  845. fixed-length record files). There are three areas that make up the image
  846. file: the image label, the image histogram object, and the image object.
  847.  
  848.  
  849. 9.1 - IMAGE LABEL AREA
  850.  
  851. The label area of a image file contains descriptive information about
  852. the image. The label consists of keyword statements that conform to
  853. version 2 of the Object Description Language (ODL) developed by NASA's
  854. PDS project [23, 24].  There are three types of ODL statements within a
  855. label: structural statements, keyword assignment statements, and pointer
  856. statements.
  857.  
  858. Structural statements provide a shell around keyword assignment
  859. statements to delineate which data object the assignment statements are
  860. describing.  The structural statements are:
  861.  
  862.          1) OBJECT = object_name
  863.          2) END_OBJECT
  864.          3) END
  865.  
  866. The OBJECT statement begins the description of a particular data object
  867. and the END_OBJECT statement signals the end of the object's
  868. description.  All keyword assignment statements between an OBJECT and
  869. its corresponding END_OBJECT statement describe the particular object
  870. named in the OBJECT statement.  The END statement terminates a label. 
  871.  
  872. A keyword assignment statement contains the name of an attribute and the
  873. value of that attribute.  Keyword assignment statements are described in
  874. more detail in Appendix B of this document.  These statements have the
  875. following format:
  876.  
  877.          name = value
  878.  
  879. Values of keyword assignment statements can be numeric values, literals,
  880. and text strings.
  881.  
  882. Pointer statements are a special class of keyword assignment statements. 
  883. These pointers are expressed in the ODL using the following notation:
  884.  
  885.          ^object_name = location
  886.  
  887. If the object is in the same file as the label, the location of the
  888. object is given as an integer representing the starting record number of
  889. the object, measured from the beginning of the file.  The first label
  890. record in a file is record 1.  Pointers are useful for describing the
  891. location of individual components of a data object.  Pointer statements
  892. are also used for pointing to data or label information stored in
  893. separate files.  An example of a detached label (i.e., label information
  894. stored in a separate file) is shown below: By convention, detached
  895. labels are found in the LABEL directory.
  896.  
  897.          ^STRUCTURE = 'logical_file_name'
  898.  
  899. The value of 'logical_file_name' is the name of the detached label file
  900. containing the description.
  901.  
  902. The keyword statements in the label are packed into the fixed-length
  903. records that make up the keyword label area. Each keyword statement is
  904. terminated by a carriage-return and line-feed character sequence. An
  905. example of a MDIM image label is shown in table 5.  Descriptions of the
  906. keywords used in the MDIM label are found in Appendix C.
  907.  
  908.  
  909.  
  910.                 TABLE 5. - EXAMPLE OF MDIM IMAGE LABEL
  911.                 --------------------------------------
  912.  
  913. CCSD3ZF0000100000001NJPL3IF0PDS200000001 = SFDU_LABEL
  914. /*          FILE FORMAT AND LENGTH */
  915. RECORD_TYPE          = FIXED_LENGTH
  916. RECORD_BYTES         = 1184
  917. FILE_RECORDS         = 1283
  918. LABEL_RECORDS        = 2
  919. /*          POINTERS TO START RECORDS OF OBJECTS IN FILE */
  920. ^IMAGE_HISTOGRAM     = 3
  921. ^IMAGE               = 4
  922. /*          IMAGE DESCRIPTION */
  923. DATA_SET_ID          = "VO1/VO2-M-VIS-5-DIM-V1.0"
  924. SPACECRAFT_NAME      = {VIKING_ORBITER_1, VIKING_ORBITER_2}
  925. TARGET_NAME          = MARS
  926. IMAGE_ID             = MI65N005
  927. SOURCE_IMAGE_ID      = {"793A03", "823A12", "669B17", "672B32", 
  928.     "672B55", "672B57", "672B58", "672B60", "672B61", "672B62", 
  929.     "672B83"}
  930. INSTRUMENT_NAME      = {VISUAL_IMAGING_SUBSYSTEM_CAMERA_A, 
  931.                         VISUAL_IMAGING_SUBSYSTEM_CAMERA_B}
  932. NOTE                 = "MARS DIGITAL IMAGE MAP, 1/256 DEG./PIXEL, 
  933.     CENTER LAT,LON 65.00,    5.000    "
  934. /*          DESCRIPTION OF OBJECTS CONTAINED IN FILE */
  935. OBJECT                 = IMAGE_HISTOGRAM
  936.   ITEMS                = 256
  937.   ITEM_TYPE            = VAX_INTEGER
  938.   ITEM_BITS            = 32
  939. END_OBJECT             = IMAGE_HISTOGRAM
  940. OBJECT                 = IMAGE
  941.   LINES                = 1280
  942.   LINE_SAMPLES         = 1184
  943.   SAMPLE_TYPE          = UNSIGNED_INTEGER
  944.   SAMPLE_BITS          = 8
  945.   SAMPLE_BIT_MASK      = 2#11111111#
  946.   CHECKSUM             = 123456789
  947. END_OBJECT             = IMAGE
  948. OBJECT                 = IMAGE_MAP_PROJECTION_CATALOG
  949.   ^DATA_SET_MAP_PROJECTION_CATALOG = "DSMAPDIM.LBL"
  950.   MAP_PROJECTION_TYPE  = SINUSOIDAL
  951.   MAP_RESOLUTION       = 256<PIXEL/DEG>
  952.   MAP_SCALE            = 0.231352<KM/PIXEL>
  953.   MAXIMUM_LATITUDE     = 67.50000
  954.   MINIMUM_LATITUDE     = 62.50000
  955.   MAXIMUM_LONGITUDE    = 10.00000
  956.   MINIMUM_LONGITUDE    = -0.01627
  957.   X_AXIS_PROJECTION_OFFSET = -17280.000
  958.   Y_AXIS_PROJECTION_OFFSET = -591.038
  959.   A_AXIS_RADIUS        = 3393.40
  960.   B_AXIS_RADIUS        = 3393.40
  961.   C_AXIS_RADIUS        = 3375.73
  962.   FIRST_STANDARD_PARALLEL = "N/A"
  963.   SECOND_STANDARD_PARALLEL = "N/A"
  964.   POSITIVE_LONGITUDE_DIRECTION = WEST
  965.   CENTER_LATITUDE      = 0.00000
  966.   CENTER_LONGITUDE     = 5.00000
  967.   REFERENCE_LATITUDE   = "N/A"
  968.   REFERENCE_LONGITUDE  = "N/A"
  969.   X_AXIS_FIRST_PIXEL   = 1
  970.   Y_AXIS_FIRST_PIXEL   = 1
  971.   X_AXIS_LAST_PIXEL    = 1280
  972.   Y_AXIS_LAST_PIXEL    = 1184
  973.   MAP_PROJECTION_ROTATION = "N/A"
  974. END_OBJECT             = IMAGE_MAP_PROJECTION_CATALOG
  975. END
  976.  
  977.  
  978.  
  979. 9.2 - IMAGE HISTOGRAM OBJECT
  980.  
  981. The first object after the label in an MDIM image file is the histogram
  982. of the image.  The Image Histogram Object begins at the record specified
  983. by the ^IMAGE_HISTOGRAM pointer keyword. (Note,  the first record in the
  984. file is defined as record 6.)  The number of fixed-length records that
  985. make up the image histogram object can be determined by subtracting the
  986. value of the ^IMAGE pointer keyword from the ^IMAGE_HISTOGRAM pointer
  987. keyword value.  These records, when concatenated together, contain the
  988. 256 elements of the image histogram with each element occupying four
  989. bytes. Each element is a 32-bit VAX integer [25]. The first element of
  990. the histogram contains the count of pixels in the image with the
  991. brightness value 0. The last element contains the count of pixels in the
  992. image with brightness value 255.
  993.  
  994. 9.3 - IMAGE OBJECT
  995.  
  996. The second object in the MDIM image file contains the image data. The
  997. image starts at the record specified by the ^IMAGE keyword. The number
  998. of records that make up the image is specified by the LINES keyword
  999. value. Each image line is stored in a separate fixed-length record. Each
  1000. sample is an 8-bit unsigned integer as described by the SAMPLE_BITS and
  1001. the SAMPLE_TYPE keywords in the label.  For DTM data, each sample is a
  1002. 16-bit signed integer. The LINE_SAMPLES keyword describes the number of
  1003. elements in each image line.
  1004.  
  1005.  
  1006.  
  1007. 10 -  SOFTWARE 
  1008.  
  1009. 10.1 - SOFTWARE DISCLAIMER
  1010.  
  1011. Although the software contained on the MDIM CDROMs have been used and
  1012. tested, no warranty, expressed or implied, is made by NASA, the Jet
  1013. Propulsion Laboratory (JPL), or the United States Geological Survey
  1014. (USGS) as to the accuracy and functioning of the software and related
  1015. materials, and no responsibility is assumed by NASA, JPL, or the USGS.
  1016.  
  1017. 10.2 - SOFTWARE TOOLS
  1018.  
  1019. Software is provided on the MDIM CDROMs to facilitate access to the
  1020. image files. These files allow simple display capability of the
  1021. individual image tiles. Software is provided for four hardware
  1022. platforms: Apple Macintosh, IBM/PC, SUN Sparcstation, and VAX/VMS
  1023. workstation systems. The software is located in subdirectories within
  1024. the SOFTWARE directory. The subdirectories MAC (Macintosh software), PC
  1025. (IBM/PC software), SUN (SUN Sparcstation), and VAX (VAX/VMS workstation)
  1026. will be found. Within each subdirectory is located a file called
  1027. SOFTINFO.TXT which describes how to use the software.
  1028.  
  1029.  
  1030. 11 - IMAGE INDEX
  1031.  
  1032. Each CDROM in the MDIM volume set contains an image index file
  1033. (IMGINDEX.TAB) with catalog information about all MDIM image files in
  1034. the collection. The image index file and it's associated PDS label file
  1035. (IMGINDEX.LAB) are located in the INDEX directory. The catalog
  1036. information in the index table includes the file names, CDROM volumes
  1037. containing the  MDIM image files, and mapping parameter information. 
  1038. The image index file has fixed-length records of length 512 bytes in
  1039. ASCII character representation. Each record (row in the table) contains
  1040. the information for a single MDIM image file.
  1041.  
  1042. Table 6 describes the contents of the image index file located in the
  1043. INDEX directory.  All fields are in ASCII character format.  The image
  1044. index files are formatted to allow automatic data entry programs to
  1045. access the data for entry into an existing data base system.  The
  1046. non-numeric fields are enclosed by double-quote characters.  All fields
  1047. are delimited by commas.  The last two bytes in a record are
  1048. carriage-control and line-feed characters. Table 6 gives the starting
  1049. and ending byte positions of each field in the image index.  These byte
  1050. positions specify the actual fields and do not include the double-quote
  1051. marks and commas that separate the fields.
  1052.  
  1053.  
  1054.                  TABLE 6 - FORMAT OF IMAGE INDEX FILE
  1055.                  ------------------------------------
  1056.  Byte Positions                   Description
  1057.  ---------------------------------------------------------------------- 
  1058.  
  1059.  
  1060.    2 -  23   FILE_NAME: the fully qualified CDROM file name for the 
  1061.                image file. The format of the directory name 
  1062.                specification is the VAX/VMS directory format, with 
  1063.            brackets indicating the directory hierarchy. Users on 
  1064.                other systems will need to convert the directory names 
  1065.                to the operating system formats.
  1066.      
  1067.   26 -  35   MAXIMUM_LATITUDE: the Maximum latitude in the image file. 
  1068.                Latitude ranges from +90.0 degrees for the north pole 
  1069.                to -90.0 degrees for the south pole.
  1070.  
  1071.   37 -  46   MINIMUM_LATITUDE: the minimum latitude in the image file.
  1072.  
  1073.   48 -  58   MAXIMUM_LONGITUDE: the maximum longitude in the image 
  1074.                file. 
  1075.                Longitude ranges from +180.0 to -180 degrees.
  1076.  
  1077.   60 -  70   MINIMUM_LONGITUDE: the minimum longitude in the image 
  1078.                file.
  1079.  
  1080.   72 -  82   CENTER_LONGITUDE: the center longitude of the Sinusoidal
  1081.                Equal-Area projection.
  1082.  
  1083.   84 -  88   LINES: the number of lines in the image file. This 
  1084.                parameter specifies the number of elements of the 
  1085.                slowest varying dimension of the two dimensional image 
  1086.                array.
  1087.  
  1088.   90 -  94   LINE_SAMPLES: the number of samples in the image file. 
  1089.                This parameter specifies the number of elements of the 
  1090.                fastest varying dimension of the two dimensional image 
  1091.            array.
  1092.  
  1093.   96 -  99   MAP_RESOLUTION: the map resolution of the image file 
  1094.            expressed as number of pixels per degree at the equator.
  1095.  
  1096.  102 - 108   VOLUME_ID 1: list of CDROM volume ID's on which the image
  1097.                file
  1098.  112 - 118   VOLUME_ID 2: is stored (VO_2001, VO_2002, etc.). There are 
  1099.  122 - 128   VOLUME_ID 3: seven fields in this list. Some image files 
  1100.            at 
  1101.  132 - 138   VOLUME_ID 4: 1/256 and 1/64 degrees per pixel exist on 
  1102.                more 
  1103.  142 - 148   VOLUME_ID 5: than one volume. The 1/4 and 1/16 degree 
  1104.                per pixel 
  1105.  152 - 158   VOLUME_ID 6: MDIM image files exist on all seven volumes.
  1106.  162 - 168   VOLUME_ID 7:
  1107.  
  1108.  171 - 181   X_AXIS_PROJECTION_OFFSET: the line position of line 1.0 
  1109.                and sample 1.0 in the x,y coordinates relative to the
  1110.                origin of the map projection.
  1111.  
  1112.  183 - 193   Y_AXIS_PROJECTION_OFFSET: the sample position of line 1.0, 
  1113.                sample 1.0 in the x,y coordinates relative to the
  1114.                origin of the map projection.
  1115.  
  1116.  196 - 271   NOTE: contains a brief description of the image file. The 
  1117.                field indicates the number of degrees/pixel of the file
  1118.                and specifies the center latitude and longitude
  1119.                coordinate of the image file.
  1120.           
  1121.  275 - 282   IMAGE_ID: this field contains a six-character string to 
  1122.                identify the image file. The field matches the name 
  1123.                of the input file.
  1124.  
  1125.  285 - 295   MAP_SCALE: this field gives the number of kilometers per
  1126.                 pixel at the equator.
  1127.    
  1128.  298 - 303   SOURCE_IMAGE_ID  1: List of up to 20 source images. This
  1129.                 list
  1130.  307 - 312   SOURCE_IMAGE_ID  2: contains the image identifiers of the 
  1131.  316 - 321   SOURCE_IMAGE_ID  3: Viking Orbiter images that were used
  1132.                 to 
  1133.  325 - 330   SOURCE_IMAGE_ID  4: create the MDIM image file. Blank 
  1134.                 fields
  1135.  334 - 339   SOURCE_IMAGE_ID  5: indicate no SOURCE_IMAGE_ID. There are
  1136.  343 - 348   SOURCE_IMAGE_ID  6: never more than 20 images that make up
  1137.  352 - 357   SOURCE_IMAGE_ID  7: an MDIM image file.
  1138.  361 - 366   SOURCE_IMAGE_ID  8:
  1139.  370 - 375   SOURCE_IMAGE_ID  9:
  1140.  379 - 384   SOURCE_IMAGE_ID 10:
  1141.  388 - 393   SOURCE_IMAGE_ID 11:
  1142.  397 - 402   SOURCE_IMAGE_ID 12: 
  1143.  406 - 411   SOURCE_IMAGE_ID 13:
  1144.  415 - 420   SOURCE_IMAGE_ID 14:
  1145.  424 - 429   SOURCE_IMAGE_ID 15:
  1146.  433 - 438   SOURCE_IMAGE_ID 16:
  1147.  442 - 447   SOURCE_IMAGE_ID 17:
  1148.  451 - 456   SOURCE_IMAGE_ID 18:
  1149.  460 - 465   SOURCE_IMAGE_ID 19:
  1150.  469 - 474   SOURCE_IMAGE_ID 20:
  1151.  
  1152.  
  1153. 12 - GAZETTEER
  1154.  
  1155.  
  1156. Planetary nomenclature, like terrestrial nomenclature, is used to
  1157. uniquely identify a feature on the surface of a planet or satellite so
  1158. that the feature can be easily located, described, or discussed. The
  1159. gazetteer on the MDIM CDROM volume set contains detailed information
  1160. about all named features on Mars that the International Astronomical
  1161. Union (IAU) has named and approved from its founding in 1919 through its
  1162. triennial meeting in 1991. 
  1163.  
  1164. The gazetteer is located on each CDROM volume of the seven volume set.
  1165. The information pertinent to the gazetteer is located in the GAZETTER
  1166. directory (a letter 'E' has been intentionally dropped from the spelling
  1167. of gazetteer because of the eight character limit on file names on
  1168. IBM/PC systems).  In this directory, a detailed documentation of the
  1169. gazetteer can be found in the GAZETTER.TXT file. The file GAZETTER.TAB
  1170. is the gazetteer table. Each row in the table contains the description
  1171. of a single Martian feature. Finally, the GAZETTER.LBL file is the PDS
  1172. detached label that describes the file contents and format.
  1173.  
  1174. Ancillary files exist in the GAZETTER directory for users of the Word
  1175. Perfect  text editor. The diacritical marks located in the gazetteer can
  1176. be converted to the Work Perfect format with the macros included in this
  1177. directory. Files which end in the extension *.WPM contain the Word
  1178. Perfect Macros. The document file WPMACRO.TXT describes the use of these
  1179. macros.
  1180.  
  1181.      
  1182. 13 -   ACKNOWLEDGEMENTS
  1183.  
  1184.  
  1185. The National Aeronautics and Space Administration is charged with the
  1186. responsibility for coordination of a program of systematic exploration
  1187. of the planets by U.S. spacecraft.  To this end, it finances spaceflight
  1188. missions and data analysis and research programs administered and
  1189. performed by numerous institutions.  The Geological Survey of the U.S.
  1190. Department of the Interior is the agency that performs most of the
  1191. mapping in support of NASA's program of planetary exploration and
  1192. scientific research.
  1193.  
  1194. The digital Mars maps contained in these volumes were compiled by the
  1195. U.S. Geological Survey (USGS) under funding provided by NASA through its
  1196. Geology and Geophysics Program at NASA headquarters, Washington, DC, and
  1197. through the Mars Observer Project administered by the Jet Propulsion
  1198. Laboratory, Pasadena, California.  NASA's Planetary Data System provided
  1199. the guidance and standards required to manufacture and distribute the
  1200. optical disks containing this MDIM and DTM of Mars.
  1201.  
  1202. Compilation of the Mars digital models was performed at USGS under the
  1203. direction of R.M. Batson, L.A. Soderblom, and Sherman S.C. Wu, Principal
  1204. Investigator and Co-Investigators, respectively.  Kathleen Edwards
  1205. provided the technical management and supervision of a team of 14
  1206. technicians who compiled the MDIM. The design, layout, and production of
  1207. the CDROMs was performed by E.M. Eliason and A. Manley at the USGS, and
  1208. M. Martin and J. Hyon at JPL
  1209.  
  1210. 14 -  REFERENCES
  1211.  
  1212. 1.  Snyder, C. W., 1977. The Missions of the Viking Orbiters, J.
  1213.        Geophys. Res., 82, p. 3971-3983.
  1214.  
  1215. 2.  Snyder, C. W., 1979. The Extended Mission of Viking, J. Geophys.
  1216.        Res., 84, p. 7917-7933.
  1217.  
  1218. 3.  Benesh, M., and T. Thorpe, 1976. Viking Orbiter 1975 visual
  1219.        imaging subsystem calibration report, JPL Document 611-125, Jet
  1220.        Propulsion Laboratory, Pasadena, Ca.
  1221.  
  1222. 4.  Klaasen, K. P., T. E. Thorpe, and L. A. Morabito, 1977. Inflight
  1223.        performance of the Viking visual imaging subsystem, Applied 
  1224.        Optics, 16, p. 3158-3170.
  1225.  
  1226. 5.  Wellman, J. B., F. P. Landauer, D. D. Norris, and T. E. Thorpe,
  1227.        The Viking Orbiter visual imaging subsystem, J. Spacecr. 
  1228.        Rockets, 13, p. 660-666, 1976.
  1229.  
  1230. 6.  Batson, R.M., 1987, Digital cartography of the planets: new
  1231.        methods, its status, and its future:  Photogrammetric 
  1232.        Engineering and Remote Sensing, vol. 53, no. 9, p. 1211-1218.
  1233.  
  1234. 7.  Batson, R.M., 1990, Cartography, in Greeley, Ronald, and Batson,
  1235.        R.M., eds, Planetary Mapping: New York, Cambridge University
  1236.        Press, p. 60-95.
  1237.  
  1238. 8.  Batson, R.M., 1990, Appendix I: Map formats and projections used
  1239.        in planetary cartography, in Greeley, Ronald, and Batson, R.M.,
  1240.         eds, Planetary Mapping: New York, Cambridge University Press,
  1241.         p. 261-276.
  1242.  
  1243. 9.  Batson, R.M., 1990, Appendix III: Digital planetary cartography,
  1244.        in Greeley, Ronald, and Batson, R.M., eds, Planetary Mapping: New
  1245.        York, Cambridge University Press, p. 289-287.
  1246.  
  1247. 10. Wu, S.S.C., and Schafer, F.J., 1984, Mars control network:
  1248.        American Society of Photogrammetry, in Technical papers of the
  1249.        50th annual meeting of the American Society of Photogrammetry,
  1250.        vol. 2, Washington, D.C., March 11 - 16, 1984, p. 456-463.
  1251.  
  1252. 11. Clark, David, 1923. Plane and geodetic surveying for engineers,
  1253.        vol. 2, higher surveying [5th Ed., 1963, Revised by Clendinning,
  1254.        James]. Constable & Co. Ltd., London, p. 599-600.
  1255.  
  1256. 12. Johnson, T.V., L.A. Soderblom, J.A. Mosher, G.E. Danielson, A.F.
  1257.        Cook, and P. Kupferman, 1983. Global multispectral mosaics of
  1258.        the icy Galilean satellites.  Journal of Geophysical Research,
  1259.        vol. 88, no. B-7, p. 5789-5805. 
  1260.  
  1261. 13. Kieffer, H.H., P.A. Davis, and L.A. Soderblom, 1981. Mars' global
  1262.        properties: Maps and applications. Proceedings of Lunar and 
  1263.        Planetary Science Conference XII, Houston, Texas, March 16-20,
  1264.        1981, p. 1395-1417.
  1265.  
  1266. 14. Pettengill, Gordon H., Donald B. Campbell, and Harold Masursky,
  1267.        1980.  The surface of Venus.  Scientific American, vol. 243,
  1268.        no. 2, p. 54-65.
  1269.  
  1270. 15. Soderblom, L.A., Kathleen Edwards, E.M. Eliason, E.M. Sanchez,
  1271.        and M.P. Charette, 1978. Global color variations on the Martian
  1272.        surface. Icarus, vol. 34, p. 446-464.
  1273.  
  1274. 16. Snyder, J. P., 1982.  Map projections used by the U.S. Geological
  1275.        Survey. Geological Survey Bulletin 1532, U.S. Government Printing
  1276.        Office, Washington D.C., 313 p.
  1277.  
  1278. 17. Planetary Cartography Working Group, 1984.  Planetary cartography
  1279.        in the next decade (1984-1994).  National Aeronautics and Space
  1280.        Administration Special Publication 475, 71 p.
  1281.  
  1282. 18. LaVoie, S., C. Avis, H. Mortensen, C. Stanley, and L. Wainio,
  1283.        1987. VICAR - User's Guide, JPL Document D-4186, Jet Propulsion
  1284.        Laboratory, Pasadena, Ca.
  1285.  
  1286. 19. Planetary Image Cartography System (PICS), Unpublished Manual,
  1287.        Branch of Astrogeology, U. S. Geological Survey, Flagstaff, Az.,
  1288.        1987.  PICS is an integrated computerized system for the
  1289.        systematic reduction, display, mapping, and analysis of
  1290.        planetary image data.
  1291.  
  1292. 20. Edwards, Kathleen, 1987, Geometric processing of digital images
  1293.        of the planets:  Photogrammetric Engineering and Remote
  1294.        Sensing, vol. 53, no. 9, p. 1219-1222.
  1295.  
  1296. 21. Wu, S.S.C., and Doyle, F.J., 1990, Topographic mapping, in
  1297.        Greeley, Ronald, and Batson, R.M., eds, Planetary Mapping: New
  1298.        York, Cambridge University Press, p. 169-207.
  1299.  
  1300. 22. Bernstein, R., Branning, H., 2nd Ferneyhough, D.G., 1971,
  1301.        Geometric and radiometric correction of high resolution images
  1302.        by digital image processing techniques; IEEE Intl. Geosci.
  1303.        Electronics Symp., Washington, D.C.
  1304.  
  1305. 23. Davis, R. L., June 1990. Specification for the Object Description
  1306.        Language, Version 2.0; Available from the PDS, Jet Propulsion
  1307.        Laboratory, Pasadena, Ca.
  1308.  
  1309. 24. Cribbs, M., and Wagner, D., May, 1991. Planetary Data System Data
  1310.        Preparation Workbook; vols. 1 and 2, JPL Document 7669, Jet
  1311.        Propulsion Laboratory, Pasadena, Ca.
  1312.  
  1313. 25. VAX integers, as storage units in data files, are configured in
  1314.        "least significant byte first" order.  This is the order for
  1315.        integer values used by VAX and IBM PC computer systems.  Users
  1316.        of other computer architectures (IBM Mainframes, Macintosh,
  1317.        SUN, and Apollo) may need to swap the high and low byte
  1318.        positions for 16-bit integer data.  For 32-bit integer data,
  1319.        swap byte pairs 1 and 4, and 2 and 3. For example, hexadecimal
  1320.        value AA BB CC DD becomes DD CC BB AA.
  1321.  
  1322. 26. Information processing -- Volume and file structure of CDROM for
  1323.        information interchange, ISO/DIS document number 9660,
  1324.        International Organization for Standardization, 1 Rue de 
  1325.        Varembe, Case Postale 56, CH-1121 Geneva 20, Switzerland, 1987.
  1326.  
  1327. 27. McDonnell, M. J., 1981. Box-filtering Techniques: Computer Graphics and
  1328.        Image Processing, Vol. 17, pp 65-70.  
  1329.   
  1330.  
  1331.             APPENDIX A - ISO VOLUME AND DIRECTORY STANDARD
  1332.  
  1333.  
  1334. A.1 - VOLUME AND DIRECTORY STRUCTURES
  1335.  
  1336. The volume and directory structure of the CDROM conforms to the standard
  1337. specified by the International Organization for Standardization (ISO)
  1338. [26].  This standard is known as the ISO-9660 standard.  This CDROM disk
  1339. conforms to the first level of interchange, level-1.
  1340.  
  1341.  
  1342. A.2 - FILE STRUCTURE
  1343.  
  1344. The files on this CDROM are of two types:  fixed-length record files,
  1345. and stream format files.  The characteristics of each record type are
  1346. described in the following sections.
  1347.  
  1348.  
  1349. A.2.1 - FIXED LENGTH RECORDS
  1350.  
  1351. Records in a file with fixed-length records are all the same length, and
  1352. there is no embedded information to indicate the beginning or end of a
  1353. record.  Fixed-length records allow any part of a file to be accessed
  1354. directly without the need to pass through the file sequentially.  Image
  1355. files with the file name extension '.IMG' and table files with the file
  1356. name extension '.TAB' are fixed-length record files. The starting byte
  1357. of any record can be calculated as follows:
  1358.  
  1359.            offset = (record-1)*length
  1360.  
  1361.     where: offset = offset byte position of record from start of file
  1362.            record = desired record to access
  1363.            length = length of record in bytes
  1364.  
  1365.  
  1366. A.2.3 - STREAM FILES
  1367.  
  1368. Stream files typically are used to store ASCII text such as
  1369. documentation and program source code.  A stream file may have records
  1370. of varying lengths.  The end of a record is marked by two bytes
  1371. containing the ASCII carriage return and line feed characters (hex 0D
  1372. and 0A).  Stream files are different from variable-length record files,
  1373. which store the record size in the first two bytes of each record.
  1374.  
  1375. On this CDROM, the documentation files, detached label files, and
  1376. software source code files are in stream format.  They may be printed or
  1377. displayed on a terminal.  Their file names have the extensions '.TXT',
  1378. '.LBL', '.C', or '.FOR'.  
  1379.  
  1380. A.2.4 - EXTENDED ATTRIBUTE RECORD
  1381.  
  1382. An extended attribute record (XAR) contains information about a file's
  1383. record format, record attributes, and record length.  The extended
  1384. attribute record is not considered part of the file and is not seen by
  1385. programs accessing a file with high-level I/O routines.  Not all
  1386. computer operating systems support extended attribute records.  Those
  1387. that do not will simply bypass the XAR when accessing a file.
  1388.  
  1389.  
  1390.  
  1391.  
  1392.      APPENDIX B - SYNTACTIC RULES OF KEYWORD ASSIGNMENT STATEMENTS
  1393.  
  1394.  
  1395.  
  1396. The label area of the image files use the syntactic rules of the Object
  1397. Definition Language (ODL) adopted by the PDS. This appendix provides
  1398. only a very brief description of the syntax of the ODL language. For a
  1399. complete description of the ODL language see Davis [23], and the
  1400. Planetary Data System Data Preparation Workbook - Volume 1 [24].
  1401.  
  1402. A keyword assignment statement, made up of a string of ASCII characters,
  1403. contains the name of an attribute and the value of that attribute.  A
  1404. keyword assignment statement has the general form shown below:
  1405.  
  1406.          name  = value  [/* comment */]
  1407.  
  1408. The format of each keyword assignment statement is essentially
  1409. free-form; blanks and tabs are typically ignored by a parsing routine.
  1410. An attribute name is separated from its value by the equal symbol (=).
  1411. Each keyword assignment statement may optionally be followed by a
  1412. comment that more completely describes the entry. The comment begins
  1413. with a slash character followed by an asterisk character (/*), and
  1414. terminates with an asterisk character followed by a slash character
  1415. (*/). Comments may also exist on a line without a keyword assignment
  1416. statement. Note that the brackets indicate that the comment and its
  1417. delimiter are optional. The MDIM labels have carriage-return and
  1418. line-feed characters following the "name = value" sequence. The ODL
  1419. language does not require a cr/lf sequence at the end of each keyword
  1420. assignment statement but are optional in order to facilitate printing of
  1421. keywords.
  1422.  
  1423. Values associated with an attribute can be integers, real numbers,
  1424. unitized  real numbers, literals, times, or text strings.
  1425.  
  1426.  
  1427.  
  1428. B.1 - INTEGER NUMBERS
  1429.  
  1430. An integer value consists of a string of digits preceded optionally by a
  1431. sign (+ or -). Non-decimal based integers are expressed according to the
  1432. Ada language convention: b#nnnnnnn#, where 'b' represents the base of
  1433. the number, and '#' delimits the number 'nnnnnnnn'. For example, the
  1434. number expressed as 2#111# represents the binary number 111, which is 7
  1435. in base 10.
  1436.  
  1437.  
  1438.  
  1439. B.2 - REAL NUMBERS
  1440.  
  1441. A real number has the form: [s]f.d[En] where:
  1442.  
  1443.          s = optional sign (+ or -)
  1444.          f = one or more digits that specify the integral portion of the
  1445.              number.
  1446.          d = one or more digits that specify the fraction portion of the
  1447.              number.
  1448.          n = an optional exponent expressed as a power of 10.
  1449.  
  1450. A unitized real number is a real number with an associated unit of
  1451. measurement.  The units for a real number value are enclosed in angle
  1452. brackets (< >).  For example, 1.234 <SECONDS> indicates a value of 1.234
  1453. seconds.
  1454.  
  1455.  
  1456.  
  1457.  
  1458. B.3 - DATES AND TIMES
  1459.  
  1460. A special form of a numeric field is a time value. The following format
  1461. of date/time representations is used:
  1462.  
  1463.          yyyy-mm-ddThh:mm:ss.fffZ
  1464. where:   yyyy    = year
  1465.          mm      = month
  1466.          dd      = day of month
  1467.          hh      = hour
  1468.          mm      = minute
  1469.          ss      = seconds
  1470.          fff     = fraction of a second
  1471.          Z       = The Z qualifier indicates the time is expressed
  1472.                    as Universal Time Corrected (UTC).
  1473.  
  1474.  
  1475. B.4 - LITERAL VALUES
  1476.  
  1477. A literal value is an alphanumeric string that is a member of a set of
  1478. finite values.  It can also contain underscore character (_).  A literal
  1479. value must be delimited by double or single quote characters (" or ') if
  1480. it does not begin with a letter (A-Z).  If the literal begins with a
  1481. letter, it does not have to be enclosed in single quotes.  If a literal
  1482. appears within quotes, the literal may contain any printable ASCII
  1483. character.  For example, the literal value "1:1" is legal as long as the
  1484. single or double quoted format is used.  A keyword assignment statement
  1485. using a literal value might look like the examples shown below:
  1486.  
  1487.          DATA_SET_ID = "VO1/VO2-M-VIS-5-DIM-V1.0"
  1488.          TARGET_NAME = MARS
  1489.  
  1490. B.5 - TEXT CHARACTER STRINGS
  1491.  
  1492. Text strings can be any length and can consist of any sequence of
  1493. printable ASCII characters including tabs, blanks, carriage-control, or
  1494. line-feed characters.  Text strings are enclosed in double quote
  1495. characters.  If the text string comprises several lines, it continues
  1496. until a double quote character is encountered and includes the carriage-
  1497. control and line-feed characters.
  1498.  
  1499.  
  1500.  
  1501.  
  1502.            APPENDIX C - KEYWORD ASSIGNMENTS FOR MDIM IMAGES
  1503.  
  1504.  
  1505.  
  1506.  
  1507. CCSD3ZF0000100000001NJPL3IF0PDS200000001 = SFDU_LABEL
  1508.      This keyword provides a mechanism for image files on this CDROM to
  1509.      conform to the SFDU (Standard Formatted Data Unit) convention.
  1510.      The first 20 bytes identify the file as a CCSDS SFDU entity. The
  1511.      next 20 bytes identify the file as a registered product of the
  1512.      JPL SFDU control authority. The components of both SFDU labels
  1513.      are the control authority identifier (characters 1-4), the
  1514.      version identifier (character 5), the class identifier (character
  1515.      6), a spare field (characters 7-8), a format identifier 
  1516.      (characters 9-12), and a length field indicator (characters
  1517.      13-20). The version identifier indicates a "Version-3" label,
  1518.      which allows files to be delimited by an end-of-file marker,
  1519.      rather than requiring a byte count to be embedded in the label.
  1520.      The keyword conforms to standard PDS keyword syntax and the value
  1521.      associated with this keyword will always be SFDU_LABEL.
  1522.  
  1523.  
  1524. RECORD_TYPE          = FIXED_LENGTH
  1525.     This keyword defines the record structure of the file. The MDIM
  1526.     image files are always fixed-length record files. This keyword 
  1527.     always contains the value FIXED_LENGTH.
  1528.  
  1529.  
  1530. RECORD_BYTES         = xxxx
  1531.     Record length in bytes for fixed length records.  
  1532.  
  1533.  
  1534. FILE_RECORDS         = xxxx
  1535.     Total number of records contained in the file.
  1536.  
  1537.  
  1538. LABEL_RECORDS        = xxxx
  1539.     Number of records in the label area of the image file.
  1540.  
  1541.  
  1542. ^IMAGE_HISTOGRAM     = xx
  1543.     The (^) character prefixing a keyword indicates that the keyword is
  1544.     a pointer to the starting record of a data object in the file.  In
  1545.     this case, the keyword is the pointer to the Image Histogram Object.
  1546.     The keyword value indicates the starting record in the file for the
  1547.     Image Histogram Object.  The number of records found in an object is
  1548.     determined by differencing the value of the pointer keyword from the
  1549.     value of the next pointer.
  1550.  
  1551.  
  1552. ^IMAGE               =  xx
  1553.     The keyword value points to the starting fixed-length record in
  1554.     the file for the Image Object.
  1555.  
  1556.  
  1557. DATA_SET_ID          = "VO1/VO2-M-VIS-5-DIM-V1.0"
  1558.     The PDS defined data set identifier for the MDIM image data 
  1559.     products produced from the Viking Orbiter Imaging System.
  1560.  
  1561.  
  1562. SPACECRAFT_NAME      = {VIKING_ORBITER_1, VIKING_ORBITER_2}
  1563.     The spacecraft name identifies the spacecrafts that acquired the
  1564.     image data. For the MDIM images, this keyword always contains the
  1565.     values VIKING_ORBITER_1 and VIKING_ORBITER_2 to indicate that
  1566.     images that make up the mosaics are a composite of data acquired
  1567.     from these two spacecraft.
  1568.  
  1569.  
  1570. TARGET_NAME          = MARS
  1571.     Observation target of the image. This value is always MARS for the
  1572.     MDIM digital image products.
  1573.  
  1574. IMAGE_ID             = vwxxyzzz
  1575.     This is the unique image identification code for the MDIM image. The
  1576.     IMAGE_ID is the same as the name given to the file.
  1577.  
  1578.                 v   =  Type of image file
  1579.                         M - Mars Digital Image Map
  1580.                         T - Mars Digital Topographic Model
  1581.                         S - Shaded Relief Airbrush Map
  1582.                 w   =  Resolution code for image file
  1583.                         C  - 1/4   degrees/pixel
  1584.                         E  - 1/16  degrees/pixel
  1585.                         G  - 1/64  degrees/pixel
  1586.                         I  - 1/256 degrees/pixel
  1587.                 xx  =  Central latitude value rounded
  1588.                        down to nearest whole latitude
  1589.                 y   =  North or South latitude
  1590.                         N - North latitude
  1591.                         S - South latitude
  1592.                 zzz =  Central longitude value rounded 
  1593.                        down to nearest whole longitude
  1594.     
  1595.  
  1596. SOURCE_IMAGE_ID      = {"316A27","427A33"}
  1597.  
  1598.      The MDIM images are a mosaic of Viking Orbiter images. This keyword
  1599.      lists the IMAGE_ID's of those Viking Orbiter images that were 
  1600.      used in the mosaic for this image. This keyword is a set of
  1601.      literal values.
  1602.  
  1603.  
  1604. INSTRUMENT_NAME      = {VISUAL_IMAGING_SUBSYSTEM_CAMERA_A, 
  1605.                         VISUAL_IMAGING_SUBSYSTEM_CAMERA_B}
  1606.     The name of the cameras used to acquire the image. This keyword
  1607.     will always contain the values VISUAL_IMAGING_SUBSYSTEM_CAMERA_A
  1608.     and _B. 
  1609.  
  1610. NOTE                 = "description"
  1611.     This field provides the product name, scale, and latitude and 
  1612.     longitude of the center of the image.
  1613.  
  1614. OBJECT                 = IMAGE_HISTOGRAM
  1615.   ITEMS                = 256
  1616.   ITEM_TYPE            = VAX_INTEGER
  1617.   ITEM_BITS            = 32
  1618. END_OBJECT             = IMAGE_HISTOGRAM
  1619.     This keyword sequence identifies the Image Histogram Object.  The
  1620.     object contains 256 elements, stored in VAX integer format [22].
  1621.     Each element has 32 bits.  The records associated with an object are
  1622.     concatenated together to make the object.  Some objects do not
  1623.     completely fill the records that make up the object.
  1624.  
  1625.  
  1626. OBJECT                 = IMAGE
  1627.   LINES                = xxxx
  1628.   LINE_SAMPLES         = xxxx
  1629.   SAMPLE_TYPE          = UNSIGNED_INTEGER
  1630.   SAMPLE_BITS          = 8
  1631.   SAMPLE_BIT_MASK      = 2#11111111#
  1632.   CHECKSUM             = xxxxxxxxx
  1633. END_OBJECT             = IMAGE
  1634.     This keyword sequence describes the image object. The meaning of
  1635.     the keywords with this sequence area as follows:
  1636.        LINES = xxxx
  1637.            Number of image lines in the image object.  
  1638.        LINE_SAMPLES  = xxxx
  1639.            Number of samples in each image line.  
  1640.        SAMPLE_TYPE = UNSIGNED_INTEGER
  1641.            Data type for pixels values, should always be unsigned
  1642.            integers. For DTM images the value is SIGNED_INTEGER
  1643.        SAMPLE_BITS = 8
  1644.            Number of bits in a pixel, which are 8-bit values in the
  1645.            range 0 to 255. For DTM images the value is 16 
  1646.        SAMPLE_BIT_MASK  = 2#11111111#
  1647.            Active bits in an image sample.  The number is expressed as a
  1648.            base 2 value in the Ada language number base convention.  The
  1649.            keyword value consists of a string of 1's or 0's.  The value
  1650.            1 indicates a bit is active and a 0 indicates a bit is not in
  1651.            use.  For example, SAMPLE_BIT_MASK = 2#11111111# indicates
  1652.            all bits active.
  1653.        CHECKSUM = xxxxxxxxxx
  1654.            The sum of all the pixel values within the image. This
  1655.            parameter can be used to verify the reading of an image file.
  1656.  
  1657.  
  1658. OBJECT                 = IMAGE_MAP_PROJECTION_CATALOG
  1659.   ^DATA_SET_MAP_PROJECTION_CATALOG = "DSMAPDIM.LBL"
  1660.   MAP_PROJECTION_TYPE  = SINUSOIDAL
  1661.   MAP_RESOLUTION       = x<PIXEL/DEG>
  1662.   MAP_SCALE            = x.xxxxx<KM/PIXEL>
  1663.   MAXIMUM_LATITUDE     = x.xxxxx
  1664.   MINIMUM_LATITUDE     = x.xxxxx
  1665.   MAXIMUM_LONGITUDE    = x.xxxxx
  1666.   MINIMUM_LONGITUDE    = x.xxxxx
  1667.   X_AXIS_PROJECTION_OFFSET = x.xxxxx
  1668.   Y_AXIS_PROJECTION_OFFSET = x.xxxxx
  1669.   A_AXIS_RADIUS        = 3393.40
  1670.   B_AXIS_RADIUS        = 3393.40
  1671.   C_AXIS_RADIUS        = 3375.73
  1672.   FIRST_STANDARD_PARALLEL = "N/A"
  1673.   SECOND_STANDARD_PARALLEL = "N/A"
  1674.   POSITIVE_LONGITUDE_DIRECTION = WEST
  1675.   CENTER_LATITUDE      = 0.00000
  1676.   CENTER_LONGITUDE     = x.xxxxx
  1677.   REFERENCE_LATITUDE   = "N/A"
  1678.   REFERENCE_LONGITUDE  = "N/A"
  1679.   X_AXIS_FIRST_PIXEL   = 1
  1680.   Y_AXIS_FIRST_PIXEL   = 1
  1681.   X_AXIS_LAST_PIXEL    = xxxx
  1682.   Y_AXIS_LAST_PIXEL    = xxxx
  1683.   MAP_PROJECTION_ROTATION = "N/A"
  1684. END_OBJECT             = IMAGE_MAP_PROJECTION_CATALOG
  1685.     This keyword sequence describes the cartographic keywords that 
  1686.     define the mapping parameters of the image.
  1687.        ^DATA_SET_MAP_PROJECTION_CATALOG = "DSMAPDIM.LBL"
  1688.            This keyword points to a separate file (DSMAPDIM.LBL) on
  1689.            the CDROM that contains supplemental and nonessential
  1690.            keyword descriptors for map projection parameters. By
  1691.            convention, supplemental labels are found in the LABEL
  1692.            directory.
  1693.        MAP_PROJECTION_TYPE  = SINUSOIDAL
  1694.            This element identifies the type of projection used in the
  1695.             map. This value is always SINUSOIDAL for the MDIM products
  1696.             and signifies a Sinusoidal Equal-Area projection.
  1697.        MAP_RESOLUTION       = x<PIXEL/DEG>
  1698.            This element identifies the scale of the MDIM image file. The
  1699.            resolution is defined in pixels per degree.
  1700.        MAP_SCALE            = x.xxxxx<KM/PIXEL>
  1701.            This element identifies the scale of the MDIM image file
  1702.            and is defined in kilometers per pixel.
  1703.        MAXIMUM_LATITUDE     = x.xxxxx
  1704.            This element specifies the northern most latitude in the MDIM
  1705.            image file.
  1706.        MINIMUM_LATITUDE     = x.xxxxx
  1707.            This element specifies the southern most latitude in the MDIM
  1708.            image file.
  1709.        MAXIMUM_LONGITUDE    = x.xxxxx
  1710.            This element specifies the left-most longitude of the image
  1711.            file.
  1712.        MINIMUM_LONGITUDE    = x.xxxxx
  1713.            This element specifies the right-most longitude of the image
  1714.            file.
  1715.        X_AXIS_PROJECTION_OFFSET = x.xxxxx
  1716.            This element provides the line offset value of the map
  1717.            projection origin position from line and sample 1,1. Note
  1718.            that the positive direction is to the right and down. See
  1719.            Appendix E for the use of this element.
  1720.        Y_AXIS_PROJECTION_OFFSET = x.xxxxx
  1721.            This element provides the sample offset value of the map
  1722.            projection origin position from line and sample 1,1. Note
  1723.            that the positive direction is to the right and down. See
  1724.            Appendix E for the use of this element. 
  1725.        A_AXIS_RADIUS        = 3393.40
  1726.        B_AXIS_RADIUS        = 3393.40
  1727.        C_AXIS_RADIUS        = 3375.73
  1728.            These elements provide the semi-major axis (A), intermediate
  1729.            axis (B), and semi-minor axis of the ellipsoid that defines
  1730.            the shape of the body defined in kilometers. These values
  1731.            are always 3393.40, 3393.40, and 3375.73 respectively.
  1732.        FIRST_STANDARD_PARALLEL = "N/A"
  1733.            This element is a mapping transformation parameter. The
  1734.            Sinusoidal Equal-Area projection does not used this element.
  1735.        SECOND_STANDARD_PARALLEL = "N/A"
  1736.            This element is a mapping transformation parameter. The
  1737.            Sinusoidal Equal-Area projection does not used this element.
  1738.        POSITIVE_LONGITUDE_DIRECTION = WEST
  1739.            This element identifies the direction of longitude
  1740.            (EAST,WEST) for a planet. The IAU definition for direction
  1741.            of positive longitude is adopted. For MARS this direction
  1742.            is WEST.        
  1743.        CENTER_LATITUDE      = 0.00000
  1744.            This element identifies the center latitude of the
  1745.             projection. For Sinusoidal Equal-Area projections, this
  1746.             value is zero.
  1747.        CENTER_LONGITUDE     = x.xxxxx
  1748.            This element identifies the center longitude of the
  1749.            projection. Each MDIM image file has its own center
  1750.            longitude. See Appendix E for the use of this mapping
  1751.            parameter.
  1752.        REFERENCE_LATITUDE   = "N/A"
  1753.            This element is a mapping transformation parameter. The
  1754.            Sinusoidal Equal-Area projection does not used this element.
  1755.        REFERENCE_LONGITUDE  = "N/A"
  1756.            This element is a mapping transformation parameter. The
  1757.            Sinusoidal Equal-Area projection does not used this element.
  1758.        X_AXIS_FIRST_PIXEL   = 1
  1759.            This element provides the x-dimension index to be assigned
  1760.            the first pixel that was physically recorded at the
  1761.            beginning of the image array. This value always 1 for MDIM
  1762.            image files.
  1763.        Y_AXIS_FIRST_PIXEL   = 1
  1764.            This element provides the y-dimension index to be assigned
  1765.            the first pixel that was physically recorded at the
  1766.            beginning of the image array. This value always 1 for MDIM
  1767.            image files.
  1768.        X_AXIS_LAST_PIXEL    = xxxx
  1769.            This element provides the x-dimension index to be assigned
  1770.            the last pixel that was physically recorded at the end of
  1771.            the image array. For MDIM image files, this element equals
  1772.            the number of lines in the image.
  1773.        Y_AXIS_LAST_PIXEL    = xxxx
  1774.            This element provides the y-dimension index to be assigned
  1775.            the last pixel that is physically recorded at the end of
  1776.            the image array. For MDIM image files, this element equals
  1777.            the number of samples in the image.
  1778.        MAP_PROJECTION_ROTATION = "N/A"
  1779.            This element is a mapping transformation parameter. The
  1780.            Sinusoidal Equal-Area projection does not used this element.
  1781.    
  1782. END
  1783.     The keyword entries with a line that contains only the word
  1784.     END. Bytes in the label area after the END statement are ignored. 
  1785.  
  1786.  
  1787.  
  1788.  
  1789.              APPENDIX D - GEOMETRIC DEFINITION OF A PIXEL
  1790.  
  1791.  
  1792.  
  1793.  
  1794. The purpose here is to describe the spatial or geometric definition of a
  1795. pixel used in the generation and utilization of the MDIM digital image
  1796. products. A broad range of factors enters into this question. For
  1797. example, is a pixel to be conceived of as a point or as an area? The
  1798. point definition would be most convenient, for instance, when dealing
  1799. with coordinate grid overlays. This results in an odd number of pixels
  1800. across a map that has an even number of spatial increments.  For
  1801. changing scales (for instance by even powers of 2) this definition
  1802. becomes a problem. In this case it makes more sense to treat a pixel as
  1803. a finite area.  Then an even number of pixels covers an even number of
  1804. spatial increments and decreasing/increasing scales by a power of 2
  1805. becomes trivial. However, grids now fall between pixels, at least in a
  1806. mathematical sense. Their treatment in the generation of hardcopy
  1807. therefore becomes an issue.
  1808.  
  1809. It was decided that the area concept of a pixel was the better choice;
  1810. we would have to live with the asymmetries introduced in things like
  1811. cartographic grids. There are various solutions: (1) use two pixels for
  1812. the width of a grid line, (2) stagger grid pixels back-and-forth across
  1813. the mathematical position, (3) use a convention whereby grid lines are
  1814. systematically drawn offset from their mathematical position.
  1815.  
  1816. The next issue is the conversion between integer coordinates and real
  1817. coordinates of the pixel mesh. We adopt the convention that pixels are
  1818. numbered (or named if you like) beginning in the upper left corner with
  1819. line 1, sample 1 (pixel 1,1); lines increase downward; samples increase
  1820. to the right. (Even this is not a universal standard; some astronomical
  1821. systems begin, perhaps more logically, in the lower left corner.) There
  1822. are three reasonable possibilities for aligning a real, or floating
  1823. point, coordinate system with the pixel mesh: the coordinate 1.0, 1.0
  1824. could be the upper left, the center, or the lower right of pixel 1,1.
  1825. The convention historically used for geometric calibration files (reseau
  1826. positions) and also used in the Multimission Image Processing Laboratory
  1827. at the Jet Propulsion Laboratory, is that the center of the pixel is
  1828. defined as its location in real coordinates. In other words, the real
  1829. coordinates of the center of pixel 1,1 are 1.0, 1.0. The top left corner
  1830. of the pixel is .5, .5 and the bottom right corner is 1.49999...,
  1831. 1.499999. The bottom and right edge of a pixel is the mathematically
  1832. open boundary. This is the standard adopted in the MDIM image products.
  1833.  
  1834. Cartographic conventions must also be defined. The map projection
  1835. representation of a pixel is mathematically open at the increasing
  1836. (right and lower) boundaries, and mathematically closed at its left and
  1837. upper boundaries. An exception occurs at the physical limits of the
  1838. projection; the lower boundary of the lowest pixel is closed to include
  1839. the limit of the projection (e. g. the south pole).  Figure D.1 shows
  1840. the coordinates of Pixel 1,1.
  1841.  
  1842.  
  1843.               
  1844.  
  1845.                  
  1846.                  Figure D.1 - Coordinates of Pixel 1,1
  1847.  
  1848.                   longitude  180.0         179.00001
  1849.                               |               |
  1850.                   latitude    |               |   line
  1851.                      90.0  -- ----------------- -- .5
  1852.                               |               |
  1853.                               |               |
  1854.                               |               |
  1855.                               |               |
  1856.                               |       +       |
  1857.                               |   (1.0,1.0)   |
  1858.                               |               |
  1859.                               |               |
  1860.                               |               |
  1861.                   89.00001 -- ----------------- -- 1.49999
  1862.                               |               |
  1863.                               |               |
  1864.                      sample  .5            1.49999
  1865.  
  1866.  
  1867. Finally, we must select a convention for drawing grid lines for various
  1868. cartographic coordinates on planetary images and maps. The convention
  1869. used for MDIM image products is that a grid line is drawn in the pixels
  1870. that contain its floating point value until the open boundary is reached
  1871. and then an exception is made so that the outer range of latitude and
  1872. longitude will always appear on the image.  This means, in the example
  1873. given above, a 10 degree grid would start on pixel 1 and be drawn on
  1874. every tenth pixel (11,21,31,...) until the open boundary is reached.
  1875. Then the line would be drawn on the pixel previous to the open boundary
  1876. (line 180 instead of line 181, or sample 360 instead of 361).
  1877.  
  1878.  
  1879. To summarize, the MDIM conventions are:
  1880.  
  1881.   1) Pixels are treated as areas, not as points.
  1882.  
  1883.   2) The integer coordinates begin with 1,1 (read "line 1, sample 1")
  1884.      for the upper-left-most pixel; lines increase downward; samples
  1885.      increase to the right.
  1886.  
  1887.   3) Integer and floating point image coordinates are the same at the
  1888.      center of a pixel.
  1889.  
  1890.   4) Grids will be drawn in the pixels that contain the floating point
  1891.      location of the grid lines except for open boundaries, which will
  1892.      be drawn to the left or above the open boundary.
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.            APPENDIX E - SINUSOIDAL EQUAL-AREA PROJECTION EQUATION
  1899.  
  1900.  
  1901.  
  1902.  
  1903. MDIM's are presented in a Sinusoidal Equal-area map projection. In this
  1904. projection, parallels of latitude are straight lines, with constant
  1905. distances between equal latitude intervals. Lines of constant longitude
  1906. on either side of the projection meridian are curved since longitude
  1907. intervals decrease with the cosine of latitude to account for their
  1908. convergence toward the poles. This projection offers a number of
  1909. advantages for storing and managing global digital data; in particular,
  1910. it is computationally simple, and data are stored in a compact form. 
  1911.  
  1912. The Sinusoidal Equal-area projection is characterized by a projection 
  1913. longitude, which is the center meridian of the projection, and a scale,
  1914. which is given in units of pixels/degree. The center latitude for all
  1915. MDIM's is the equator. Each MDIM file contains its own central meridian.
  1916.  
  1917. The transformation from latitude and longitude to line and sample for
  1918. planets with a direction of positive longitude of WEST is given by the
  1919. following equations:
  1920.  
  1921.   line = INT(X_AXIS_PROJECTION_OFFSET - lat*MAP_RESOLUTION + 1.0)
  1922.  
  1923.   sample = INT(Y_AXIS_PROJECTION_OFFSET - (lon - CENTER_LONGITUDE)*
  1924.        MAP_RESOLUTION*cos(lat) + 1.0)
  1925.                                             
  1926.                                        
  1927. Note that integral values of line and sample correspond to center of
  1928. a pixel. Lat and lon are the latitude and longitude of a given spot
  1929. on the surface. 
  1930.  
  1931. INT is the fortran equivalent floating point to integer function. This
  1932. function converts floating point values to integer by truncation of the
  1933. fractional part of the floating point value.
  1934.  
  1935. X_AXIS_PROJECTION_OFFSET is the line number minus one on which the map
  1936. projection origin occurs. The map projection origin is the intersection
  1937. of the equator and the projection longitude. The value of
  1938. X_AXIS_PROJECTION_OFFSET is positive for images starting north of the
  1939. equator and is negative for images starting south of the equator. The
  1940. X_AXIS_PROJECTION_OFFSET is found in the labels of each image file.
  1941.                                                                     
  1942. Y_AXIS_PROJECTION_OFFSET is the nearest sample number to the left of the
  1943. projection longitude. The value of Y_AXIS_PROJECTION_OFFSET is positive
  1944. for images starting to the west of the projection longitude and is
  1945. negative for images starting to the east of the projection longitude.
  1946. The Y_AXIS_PROJECTION_OFFSET is found in the labels of each image file. 
  1947.  
  1948. CENTER_LONGITUDE is the value of the projection longitude, which is the
  1949. longitude that passes through the center of the projection. The
  1950. CENTER_LONGITUDE is found in the labels of each image file.
  1951.                                                                              
  1952. MAP_RESOLUTION is the number of pixels per degree on the planet. The
  1953. values for MDIM products will be 256, 64, 16, and 4. The MAP_RESOLUTION
  1954. is found in the labels of each image file.
  1955.  
  1956. There are four PDS parameters that specify the latitude and longitude
  1957. boundaries of an image.  MAXIMUM_LATITUDE and MINIMUM_LATITUDE specify
  1958. the latitude boundaries of the image, and MAXIMUM_LONGITUDE and
  1959. MINIMUM_LONGITUDE specify the longitudinal boundaries of the map.
  1960.  
  1961. A special note is required for the MAXIMUM_LONGITUDE and
  1962. MINIMUM_LONGITUDE parameters that define the boundaries of an image. The
  1963. MAXIMUM_LONGITUDE will be greater than the MINIMUM_LONGITUDE except when
  1964. the image map crosses the zero meridian. When the zero meridian is
  1965. contained in the image area, then the MINIMUM_LONGITUDE will be greater
  1966. than the MAXIMUM_LONGITUDE. When this occurs, it may be convenient for a
  1967. computer algorithm that uses these parameters to subtract 360.0 degrees
  1968. from the MINIMUM_LONGITUDE. For example, if an image had longitude
  1969. boundary limits from 10.0 degrees longitude (MAXIMUM_LONGITUDE) to 350.0
  1970. degrees longitude (MINIMUM_LONGITUDE) then it is implied that the zero
  1971. meridian is in the middle of the image file. One could think of the
  1972. longitude limits of the file going from 10.0 to -10.0 degrees longitude.
  1973.  
  1974. For global maps that cover the entire 360 degrees of a planet, the
  1975. MINIMUM_LONGITUDE will equal the MAXIMUM_LONGITUDE indicating that the
  1976. "left" edge of the map has the same longitude as the "right" edge of the
  1977. map.
  1978.  
  1979.